package com.zhou.annotation.bean;

import org.springframework.stereotype.Component;

@Component
public class Car {

    private String name = "";

	public Car(){
		System.out.println("car constructor...");
	}
	
	public void init(){
		System.out.println("car ... init...");
	}
	
	public void detory(){
		System.out.println("car ... detory...");
	}

    public void setName(String name) {
        this.name = name;
    }

}
